package com.hzh.starter.autoconfigure;

import java.util.Random;

/**
 * @author hzh
 * @date 2024-04-23 09:41
 **/
public class MyGenerateService {
    private Long workId;

    public MyGenerateService(Long workId) {
        this.workId = workId;
    }

    public Long generate() {
        return new Random().nextInt(100) + this.workId;
    }
}
